package com.linkage.educloud.ah.mvp.contract.topic;

import com.linkage.educloud.ah.bean.TopicChildBean;
import com.linkage.educloud.ah.mvp.ABasicPresenter;
import com.linkage.educloud.ah.mvp.IBasicView;
import com.linkage.educloud.ah.mvp.ICommonModel;

import java.util.List;

/**
 * Created by Mr'Tang on 2018/12/4.
 */

public interface ITopicDetailContract {
    interface IView extends IBasicView {
        void showData(TopicChildBean bean);

        void showCommentDate(List<TopicChildBean> list);

        void changePriase(int state);

        void hidezloading();
    }

    abstract class IPresenter<T extends IBasicView> extends ABasicPresenter {
        public IPresenter(T iView) {
            super(iView);
        }

        public abstract void getCardDetail(String id);

        public abstract void getComments(String id);

        public abstract void pushZan(String id, int state);

        public abstract void pushComment(String id, String text);
    }

    interface IModel extends ICommonModel {

    }
}
